<?php

namespace App\Models\Accident;

use App\Models\Model;

class AccidentInjured extends Model
{
    protected $table = 'akbus_accident_injured';

    protected $fillable = [
        'name',
        'age',
        'medical_cost',
        'other_cost',
        'hospital_days',
        'nursing_days',
        'nursing_cost',
        'bed_days',
        'refund',
        'compensation_cost',
        'remark',
        'accident_id',
    ];

    public function accident(): \Illuminate\Database\Eloquent\Relations\BelongsTo
    {
        return $this->belongsTo(Accident::class);
    }
}
